<!DOCTYPE html>
<style> 
#overflow_div {
    border: 1px solid black;
    background-color: lightblue;
    width: 100px;
    height: 100px;
    overflow: scroll;
}
</style>

<body>
<div id="overflow_div" class="overflow_div">
    <span id="textInFrame"> Try to autoscroll this text.<br> </span>
PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED   PASSED
</div>
</body>
